package creational.abstractfactory;

import creational.abstractfactory.product.Computer;
import creational.abstractfactory.product.Keyboard;
import creational.abstractfactory.product.Phone;
import creational.abstractfactory.product.apple.AppleComputer;
import creational.abstractfactory.product.apple.AppleKeyboard;
import creational.abstractfactory.product.apple.ApplePhone;

public class AppleFactory implements BrandFactory{
    @Override
    public Computer createComputer() {
        return new AppleComputer();
    }

    @Override
    public Keyboard createKeyboard() {
        return new AppleKeyboard();
    }

    @Override
    public Phone createPhone() {
        return new ApplePhone();
    }
}
